/*v+CyfY++9v7rLzm58WF8K99knSGb4P85dDXssPRPVk0BtyHH+jedKOkbFudX5a0/*/
/*
 * @Descripttion:
 * @version:
 * @Author: Chendch
 * @Date: 2021-05-18 10:23:02
 * @LastEditors: Chendch
 * @LastEditTime: 2021-05-18 10:39:03
 */
//过滤空的select下拉选项
function filterEmtyOptionItem(metaObj, key) {
  let items = metaObj.items;
  items.forEach(item => {
    if(item.attrcode == key) {
      item.options = item.options.filter( ii => {
        return !!ii.value
      })
    }
  });
  metaObj.items = items;
  return metaObj;
}

export {
  filterEmtyOptionItem
}
/*v+CyfY++9v7rLzm58WF8K99knSGb4P85dDXssPRPVk0BtyHH+jedKOkbFudX5a0/*/
